﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Calculator.cs" company="Collaboris Ltd.">
//   Copyright (c) Collaboris Ltd. All rights Reserved.
// </copyright>
// <summary>
//   Defines the Person type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Collaboris.Saf.Tests.Support.Entities
{
    using SharePoint.Wss.Entities;

    public class Calculator : WSSEntityBase
    {
        private int firstNumber;
        private int secondNumber;
        private int result;


        public Calculator(int firstNumber, int secondNumber)
        {
            this.firstNumber = firstNumber;
            this.secondNumber = secondNumber;            
        }

        public Calculator()
        {
        }

        public int FirstNumber
        {
            get
            {
                return this.firstNumber;
            }

            set
            {
                this.firstNumber = value;
            }
        }

        public int SecondNumber
        {
            get
            {
                return secondNumber;
            }

            set
            {
                secondNumber = value;
            }
        }

        public int Result
        {
            get
            {
                return this.result;
            }

            set
            {
                this.result = value;
            }
        }
    }
}
